From 4e751b5fa010c3f19939d3ee4dd036932aedb180 Mon Sep 17 00:00:00 2001 From: "mafetter@fleming.research" Date: Wed, 2 Feb 2005 15:09:37 +0000 Subject: [PATCH] bitkeeper revision 1.1159.223.58 (4200ed31YDg6myRSqtQaWLMgRgJ7dA) Fix "make dist" so that it works from inside the xen subdirectory. --- xen/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/Makefile b/xen/Makefile index 42f0ffafb0..33b03f4854 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -1,3 +1,7 @@ +# Default is to install to local 'dist' directory. +DISTDIR ?= ../dist +DESTDIR ?= $(DISTDIR)/install + INSTALL = install INSTALL_DATA = $(INSTALL) -m0644 INSTALL_DIR = $(INSTALL) -d -m0755 @@ -20,6 +24,9 @@ $(TARGET).gz: $(TARGET) debug: objdump -D -S $(TARGET)-syms > $(TARGET).s +dist: + $(MAKE) install + install: $(TARGET).gz [ -d $(DESTDIR)/boot ] || $(INSTALL_DIR) $(DESTDIR)/boot $(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot -- 2.30.2